package com.jlcindia;

public class Oopstest1 {
	public static void main(String[] args) {
		new Employee().addEmployee();
		System.out.println("\nAnother object");
		Employee emp=null;
		emp=new Employee();
		emp.addEmployee();
		emp.eid=99;
		emp.ename="ravi";
		emp.salary=30000;
		emp.addEmployee();
		System.out.println("Main Completed");
	}
}
class Employee{
	int eid;
	String ename;
	double salary;
	void addEmployee(){
		System.out.println("\n**Employee Added**");
		System.out.println("Eid :"+eid);
		System.out.println("Name :"+ename);
		System.out.println("Salary :"+salary);
	}
}